@charset "UTF-8";
$baseFontSize:20px;
@function pxToRem($px) {
    @return $px / $baseFontSize * 1rem;
}
$blueColor:#438eb9;
html {
    font-size: 20px;
    min-height: 100%;
}

body {
    font-size: 0.7rem;
    background: #e4e6e9;
    min-height: 100%;
}
*{outline:none;}
:focus {outline:none;}
button:focus{
outline:none;
}

// ************************************覆盖bs
.breadcrumb {
    margin-bottom: 0.5rem;
}

.btn-sm {
    padding: 0.15rem 0.35rem;
    border-radius: 0.05rem;
}

.modal-body {
    max-height: 25rem;
    overflow-y: auto;
}

.modal-header .close {
    font-size: 1.6rem;
}

.col-lg-1-5 {
    width: 12%;
    position: relative;
    min-height: 1px;
    float: left;
}

//**********************************loadding样式
.load-wrap {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #000;
    opacity: 0.3;
    filter: alpha(opacity=30);
    z-index: 99999;
}

.load-img {
    width: 2.5rem;
    height: 2.5rem;
    background: url(../../images/portalImages/circles.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 2.5rem 2.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -1.25rem;
    margin-left: -1.25rem;
    z-index: 555;
}

.none {
    display: none;
}

//**********************************通用样式 
img {
    max-width: 100%;
    max-height: 100%;
}

a,
a:link,
a:hover,
a:active,
a:visited {
    text-decoration: none;
}

ul,
li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.blue-color{color:$blueColor;}
.no-border {
    border: none !important;
}

.slipt {
    border-right: 1px solid #000;
}

.remove-padding {
    padding-left: 0;
    padding-right: 0;
}

.remove-margin {
    margin-left: 0;
    margin-right: 0;
}

.check-all {
    line-height: 1.42857143;
    margin-top: 5px;
}

.remove-all-margin {
    margin: 0;
}

.row-btn {
    padding: 0.24rem;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: keep-all;
    white-space: nowrap;
}

.multiple-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.container-fluid {
    overflow-x: hidden;
}

.file {
    position: relative;
    overflow: hidden;
    button {
        width: 100%;
    }
    input {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1;
        width: 100%;
        height: 2rem;
        opacity: 0;
        cursor: pointer;
        padding: 0;
    }
}

.modal-sg {
    width: 52rem;
}
.modal-min-height{
    min-height: 10rem;
}
.modal-pw {
    width: 22rem;
}

.text-center {
    text-align: center !important;
}

.text-blue {
    color: #337ab7;
}

.w-date {
    width: 12.5%;
}

.u-date {
    width: 0.5rem;
    text-align: center;
    line-height: 1.5rem;
}

.hidden {
    display: none;
}

.text-require {
    color: #ee1611;
    margin-right: 0.3rem;
}

.m-b-1 {
    margin-bottom: 0.5rem;
}

.m-t-1 {
    margin-top: 0.5rem;
}

.m-r-1 {
    margin-right: 0.5rem;
}

.p-b-1 {
    padding-bottom: 0.5rem;
}

.p-t-1 {
    padding-top: 0.5rem;
}

.p-lr-2-5 {
    padding-left: pxToRem(25px);
    padding-right: pxToRem(25px);
}

.bg-white {
    background: white;
}

.invalid {
    font-size: 0.5em;
    margin: 0.15rem 0 0 0;
    padding: 0.25rem 0.5rem;
    line-height: 0.5rem;
    font-size: 1em;
    margin: 3px 0 0 0;
    padding: 0.5rem 1rem;
    line-height: 1rem;
    background: #f2dede;
    color: #a94442;
    border-radius: 0.15rem;
}

.two-btn {
    width: 2.5rem;
}

table tr:hover {
    background-color: #f3f3f3;
}

.top-2 {
    top: 2px;
}
.right-2{
    right: 2px !important;
}
.fixed-table {
    table-layout: fixed !important;
}

.tongji table tr:hover {
    background: #FFF !important;
}

.tongji table tr td {
    vertical-align: middle;
    border-top: none;
    border-bottom: 1px solid #ddd;
}

.clearfix {
    zoom: 1;
}
.search-fied{
    z-index:99999;
    position:absolute;
    top:30px;
}
.search-fied option:hover{
    background:#1e90ff;
}
.picture{
    width: 100%;height: 160px;border: 2px dashed #ccc;background-repeat:no-repeat;background-size:cover;background-position:center center;
}
/*==for IE6/7 Maxthon2==*/

.clearfix:after {
    clear: both;
    content: '.';
    display: block;
    width: 0;
    height: 0;
    visibility: hidden;
}

.overflow {
    overflow: hidden;
}

.select-multiple {
    height: auto !important;
    position: absolute;
    z-index: 9990;
    width: auto;
    max-width: 240px;
}

.head-text {
    text-align: center;
    line-height: 1.5rem;
}

.text-tip {
    color: #8d8d8d;
}
.text-import{
    text-indent:10px;
    height:pxToRem(25px);
    line-height:pxToRem(25px);
}

.wechat-img {
    width: 50%;
    img {
        border-radius: 50%;
    }
}
.accordion-panel .panel-heading{
    cursor:pointer;
}

//右侧所有模板的主容器
.content-container {
    padding: 0 0.5rem;
}

//***************************图标
.select {
    background: url(../../images/select.png);
}

.unselect {
    background: url(../../images/unselect.png);
}

.select,
.unselect {
    width: 100%;
    height: 100%;
    margin-right: 0.3rem;
    background-size: 100%;
    background-repeat: no-repeat;
}

//***********************查询框
.query {
    background: #e4e6e9;
    padding: 0.4rem;
    border: 1px solid #d9d9d9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
    .input-group {
        width: 100%;
    }
    .row {
        margin: 0;
        margin-bottom: 0.25rem;
        [class^='col-'] {
            padding: 0;
        }
    }
    .row:last-child {
        margin-bottom: 0;
    }
    .query-btn{
        padding:4px 14px;
    }
}


/* ************************头部 */

.top-container {
    width: 100%;
    height: auto;
    background: #438eb9;
    >div {
        display: inline-block;
        vertical-align: top;
        width: 49%;
        height: 2rem;
        padding: 0rem 0.5rem;
        .logo {
            display: inline-block;
            width: 25%;
            img {
                width: auto;
                height: 2rem;
                margin-top: -0.15rem;
                margin-left: -0.15rem;
                margin-top: -0.1rem;
                margin-left: 0.5rem;
                display: inline-block;
            }
        }
    }
    >div:first-child {
        padding: 0.15rem;
    }
    button {
        height: 2rem;
        border-radius: 0;
    }
}


/* ***********************************菜单 */

.left-container {
    width: 7.5rem;
    float: left;
    border: 1px solid #ccc;
    background: #f2f2f2;
    position: relative;
    ul {
        padding: 0;
        margin: 0;
        position: relative;
    }
    a {
        color: #616161;
        text-decoration: none;
    }
    a:hover {
        color: #266cad;
    }
    .active {
        background: #f5f7fa;
        >a {
            color: #2b7dbc;
        }
    }
    .selected-item:after{
        border-top:8px solid transparent;
        border-bottom:8px solid transparent;
        border-right:8px solid $blueColor;
        content: "";
        height: 0;
        width: 0;
        position:absolute;
        right: 0px;
    }
    .open-child {
        background: #fff;
        >a {
            color: #2b7dbc;
            border-left: 2px solid #2b7dbc;
        }
    }
    .now-open {
        >a:after {
            display: block;
            content: "";
            position: absolute;
            top: 0.2rem;
            left: 0;
            border: 8px solid transparent;
            border-width: 14px 10px;
            color: #2b7dbc;
            border-left-color: #2b7dbc
        }
    }
    .menc {
        text-align: left;
        border-bottom: 1px solid #e5e5e5;
        position: relative;
        >a {
            width: 100%;
            padding: 0.4rem 0.4rem 0.4rem 0.5rem;
            display: block;
            border-bottom: 1px dotted #d9d9d9;
            >span {
                display: inline-block;
                vertical-align: center;
            }
        }
        .toggle {
            position: absolute;
            right: 0.6rem;
            top: 0.5rem;
        }
    }
    .menc-toggle {
        text-align: center;
        padding: 0.15rem;
        border-bottom: 1px solid #e9e9e9;
        .glyphicon {
            background: #fff;
            border-radius: 0.4rem;
            border: 1px solid #d9d9d9;
            cursor: pointer;
        }
    }
    .menc-toggle:before {
        content: "";
        display: block;
        height: 0;
        border-top: 1px dotted;
        border-color: inherit;
        position: absolute;
        left: 0.5rem;
        right: 0.5rem;
        top: 0.55rem;
    }
    .child-menc:before {
        content: "";
        display: block;
        position: absolute;
        z-index: 1;
        left: 0.6rem;
        top: 0;
        bottom: 0;
        border-left: 1px dotted;
    }
    .child-menc {
        background: #fff;
        font-size: 0.6rem;
        li {
            border-left: 1px dotted #d9d9d9;
            border-bottom: 1px dotted #d9d9d9;
            padding: 0.4rem 0 0.4rem 1.35rem;
            position: relative;
        }
        li:before {
            content: "";
            display: block;
            width: 0.35rem;
            border-top: 1px dotted;
            position: absolute;
            left: 0.6rem;
            top: 0.7rem;
            z-index: 1;
            border: 1px dotted;
        }
        li:last-child {
            border-bottom: 0;
        }
    }
}

// 右侧内容
.right-container {
    width: 100%;
    margin-left: 7.7rem;
    padding-right: 7.7rem;
    border: 1px solid #ccc;
    background: #fff;
}

//**************************************内容列表
.datagrid {
    width: 100%;
    margin: 0.5rem auto;
    td,
    th {
        text-align: center;
    }
}

//***************************************查询结果
.page-result {
    width: 100%;
    margin: auto;
    padding-top: 0.5rem;
    >div {
        height: 1.5rem;
        line-height: 1.5rem;
    }
    .pagination {
        margin: 0;
    }
    .pagination-size {
        float: right;
        margin-left: 0.05rem;
    }
}


/* ******************************角色-人员管理 */
.select-list{
    span{
        cursor:pointer;
    }
}
.user-role {
    .select-box {
        display: inline-block;
        width: 1rem;
        height: 1rem;
        cursor:pointer;
        span {
            float: left;
            margin-top: 0.45rem;
            width: 70%;
        }
    }
}
// 备注
.beizhutishi {
    position: relative;
    cursor: pointer;
}

.beizhutishi .tishi {
    background: #fff;
    position: absolute;
    bottom: 38px;
    left: 50%;
    margin-left: -135px;
    z-index: 1060;
    max-width: 276px;
    min-width: 265px;
    min-height: 60px;
    padding: 1px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    word-wrap: break-word;
    word-break: normal;
    text-align: center;
}

.beizhutishi .tishi .arrow,
.beizhutishi .tishi .arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.beizhutishi .tishi .arrow {
    bottom: -22px;
    left: 50%;
    margin-left: -11px;
    border-top-color: #999;
    border-top-color: rgba(0, 0, 0, .25);
    border-bottom-width: 0;
    border-width: 11px;
}

.beizhutishi .tishi .content {
    padding: 10px;
    word-wrap: break-word;
    word-break: normal;
}

.beizhutishi .overflow {
    height: 20px;
    overflow: hidden;
    display: inline-block;
}

.new-tag {
    margin-top: 10px;
    a {
        line-height: 34px !important;
        padding: 4px !important;
    }
}

.sign-input {
    margin-left: pxToRem(20px);
    margin-top: pxToRem(10px);
    margin-bottom: pxToRem(10px);
}

.sign-btn {
    margin: pxToRem(40px);
}

.title-tab {
    ul {
        line-height: pxToRem(40px);
        border-bottom: 1px solid #e7e7eb;
        li {
            float: left;
            padding: 0 pxToRem(18px);
            cursor: pointer;
        }
        li.selected {
            border-bottom: 3px solid #438eb9;
        }
    }
}

.input-tip {
    height: 34px;
    line-height: 34px;
}

.white-text {
    color: #8d8d8d;
}

.message-body .tab-contents {
    min-height: 300px;
}

.photo-content {
    width: 250px;
    height: 250px;
    margin: 20px;
    border: 3px dashed #e6e6e6;
    margin: 10px auto;
    background: url(../../images/backHome/photo.png) center center no-repeat;
}
//产品管理
.minus{
    position: absolute;top: -2px;right: -2px;cursor: pointer;font-size: 16px;
}
.info_bd {
    position: relative;
    .sub_title {
        clear: both;
        position: relative;
        z-index: 7;
        margin: 10px 10px 10px 0px;
        padding-left: 3px;
        border-left: 4px solid #438eb9;
        font-size: 14px;
        height: 14px;
        line-height: 14px;
        font-weight: normal;
        text-align: left;
    }
}
.btn-selected{
         border: 1px solid #438eb9;
        /* background-color:#438eb9;
        color:#FFF; */
}
// 下拉搜索框
.search-group{
    // width: 200px;
    position: relative;
    font-size: 12px;
    float:left;
    z-index: 990;
    .search-input{
        width: 100%;
        border:1px solid #cecece;
        padding:6px 10px 5px;
        background-color: #FFF;
        .input-text{
            text-align:left;
            width: 100%;
            display: block;
            word-wrap: normal;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            .placeholder{
                color:#999;
            }
        }
        .icon{
            position: absolute;
            right: 8px;
            top: 8px;
        }
    }
    .search-content{
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1020;
        float: left;
        min-width: 160px;
        padding: 10px 0 5px;
        margin: 9px 0 0;
        text-align: left;
        line-height: 1.6;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 0;
        -webkit-animation-duration: .15s;
        animation-duration: .15s;
        .out{
            display: block;
            content: "";
            width: 0;
            height: 0;
            border-width: 8px;
            border-style: dashed;
            border-color: transparent;
            border-top-width: 0;
            border-bottom-color: #d9dadc;
            border-bottom-style: solid;
            position: absolute;
            z-index: 1;
            left: 10px;
            top: -8px;
            bottom: 0;
            display: inline-block;
        }
        .in{
            display: block;
            content: "";
            width: 0;
            height: 0;
            border-width: 8px;
            border-style: dashed;
            border-color: transparent;
            border-top-width: 0;
            border-bottom-color: #FFF;
            border-bottom-style: solid;
            position: absolute;
            z-index: 1;
            left: 10px;
            top: -7px;
            bottom: 0;
            display: inline-block;
        }
        .content-input{
            padding:0 10px 5px;
            input{
                padding:5px 10px;
                font-size: 12px;
                margin-bottom:8px;
                height: 32px;
            }
        }
        .select-list{
            margin: 0px;
            padding:0px;
            list-style: none;
            max-height: 150px;
            overflow-y:scroll;
            li{
                padding:5px 10px;
            }
            li:hover{
                background-color:#1e90ff;
                color: #FFF;
            }
        }
    }
}
.select-item{
    background-color:#1e90ff;
    color: #FFF;
}
.search-mask{
    width: 100%;
    height: 100%;
    position:fixed;
    top: 0px;
    left: 0px;
    background:rgba(255, 255, 255, 0);
    z-index: -1;
}